<?php if (!defined('THINK_PATH')) exit(); if(is_array($pages_rows)): foreach($pages_rows as $key=>$rowitem): ?><li><cite></cite><a href="<?php echo U('Pages/page', array('id'=>$rowitem['id']));?>"<?php if($rowitem['opentype']=='1') { echo ' target="_blank"'; } else if($rowitem['opentype']=='2') { echo ' target="_parent"'; } else if($rowitem['opentype']=='3') { echo ' target="_top"'; } else { echo ' target="rightFrame"'; }?>><?php echo ($rowitem["title"]); ?></a><i></i></li><?php endforeach; endif; ?>